From 1e1c9845799ca82c3b2501701829b1304d8218c3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 27 Mar 2010 16:00:30 +0000 Subject: [PATCH] xend: Do not set execute permission on qemu-dm log file. Signed-off-by: Daniel Kiper --- tools/python/xen/xend/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 7f99a699df..cb5f6350e6 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -435,7 +435,7 @@ class ImageHandler: os.rename(self.logfile, self.logfile + ".1") null = os.open("/dev/null", os.O_RDONLY) - logfd = os.open(self.logfile, logfile_mode) + logfd = os.open(self.logfile, logfile_mode, 0666) sys.stderr.flush() contract = osdep.prefork("%s:%d" % -- 2.30.2